class CarOwnerDetailObj {
  String areaIds;
  int attributionDepartmentId;
  String beaconSn;
  int buildId;
  String carNumber;
  String createTime;
  String driverInformation;
  String driverSn;
  String getIntoTime;
  int id;
  String onOfflineStatus;
  String orgCode;
  String remark;
  int templateId;
  String templateName;
  int tenentId;
  String updateTime;
  int vehicleBrandId;
  int vehicleIdentity;
  String vehicleInformation;
  String vehicleSn;
  String vehicleType;
  int vehicleTypeId;

  CarOwnerDetailObj(
      {this.areaIds,
      this.attributionDepartmentId,
      this.beaconSn,
      this.buildId,
      this.carNumber,
      this.createTime,
      this.driverInformation,
      this.driverSn,
      this.getIntoTime,
      this.id,
      this.onOfflineStatus,
      this.orgCode,
      this.remark,
      this.templateId,
      this.templateName,
      this.tenentId,
      this.updateTime,
      this.vehicleBrandId,
      this.vehicleIdentity,
      this.vehicleInformation,
      this.vehicleSn,
      this.vehicleType,
      this.vehicleTypeId});

  factory CarOwnerDetailObj.fromJson(Map<String, dynamic> json) {
    return CarOwnerDetailObj(
      areaIds: json['areaIds'],
      attributionDepartmentId: json['attributionDepartmentId'],
      beaconSn: json['beaconSn'],
      buildId: json['buildId'],
      carNumber: json['carNumber'] ?? '',
      createTime: json['createTime'],
      driverInformation: json['driverInformation'],
      driverSn: json['driverSn'],
      getIntoTime: json['getIntoTime']??"",
      id: json['id'],
      onOfflineStatus: json['onOfflineStatus'],
      orgCode: json['orgCode'],
      remark: json['remark'] ?? '',
      templateId: json['templateId'],
      templateName: json['templateName'],
      tenentId: json['tenentId'],
      updateTime: json['updateTime'],
      vehicleBrandId: json['vehicleBrandId'],
      vehicleIdentity: json['vehicleIdentity'],
      vehicleInformation: json['vehicleInformation'],
      vehicleSn: json['vehicleSn'],
      vehicleType: json['vehicleType'] ?? "",
      vehicleTypeId: json['vehicleTypeId'],
    );
  }
}
